<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:doc="livcos.org/ns/doc" 
  xmlns:n="livcos.org/ns/pm/news"
  xmlns="http://www.w3.org/1999/xhtml"
  exclude-result-prefixes="n doc">

  <xsl:import href="document.xsl" />
  <xsl:import href="style/pm/news.xsl" />
  
  <xsl:template name="page_styles">
    <link href="{$toDomainPath}/web/css/styles.css" rel="stylesheet" type="text/css" />
    <link href="{$toRootPath}/livcos.org/web/css/journal.css" rel="stylesheet" type="text/css" />
  </xsl:template>
  
	<xsl:template name="toc">
		<div class="toc">
			<xsl:apply-templates select="n:news/n:item" mode="toc">
				<xsl:sort select="@date" order="descending"/>
			</xsl:apply-templates>
		</div>
	</xsl:template>
	
	<xsl:template match="n:item" mode="toc">
		<p>
			<a href="#{@id}">
				<xsl:value-of select="n:title"/>
			</a>
		</p>
	</xsl:template>
	
	<xsl:template name="tools"/>
	
</xsl:stylesheet>
